package org.adorsys.aderp.orga.service;

import java.util.List;

import org.adorsys.aderp.orga.domain.EmailAddressRole;
import org.adorsys.aderp.orga.domain.OrgaPerson;
import org.adorsys.aderp.orga.domain.PersonEmail;
import org.springframework.data.domain.Page;
import org.springframework.roo.addon.layers.service.RooService;

@RooService(domainTypes = { org.adorsys.aderp.orga.domain.PersonEmail.class })
public interface PersonEmailService {
	List<PersonEmail> findByOrgaPerson(OrgaPerson orgaPerson);
	Page<PersonEmail> searchPersonEmail(OrgaPerson orgaPerson, EmailAddressRole addressRole, Integer page, Integer size);
}
